package com.ophiux.common.data.mybatis;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @desc: Mybatis 配置
 * @author: hhl
 * @date：2023/1/18 16:54
 */
@Data
@RefreshScope
@ConfigurationProperties(prefix = "ophiux.mybatis")
public class OphiuxMybatisProperties {

    /**
     * 是否打印可执行 sql
     */
//    @Value("${ophiux.mybatis.showSql}")
    private boolean showSql;

}
